<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../vue.js"></script>
</head>
<body>
    <div id="app">
        <!-- 使用textarea 可拉伸表单时候  如果需要双向绑定也需要 v-model来双向绑定
         -->
        <textarea name="city1" v-model="city1" >{{city1}}</textarea>
    </div>
    <script>
        const vm = new Vue({
            el:"#app",
            data(){
                return {
                    city1:'香港'
                }
            }
            
        })

    </script>
    
</body>
</html>